Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 8 - Video Digitizer Components / Video Digitizer Components Reference
Video Digitizer Component Functions / Controlling Analog Video


VDSetSharpness

The VDSetSharpness function sets the sharpness value. The sharpness value
ranges from 0 to 65,535, where 0 represents no sharpness filtering and 65,535 represents full sharpness filtering. Higher values result in a visual impression of increased picture sharpness.

pascal VideoDigitizerError VDSetSharpness 
                              (VideoDigitizerComponent ci,
                               unsigned short *sharpness);
ci
Specifies the video digitizer component for the request. Applications obtain this reference from the Component Manager's OpenComponent function.
sharpness
Contains a pointer to an integer that contains the new sharpness value. The video digitizer component attempts to set the sharpness value to the value specified by this parameter. The digitizer component returns the new value, so that the application can avoid using unsupported values in future requests.
RESULT CODES
noErr0No error
digiUnimpErr-2201Function not supported
qtParamErr-2202Invalid parameter value
SEE ALSO
Your application can obtain the current sharpness value by calling the VDGetSharpness function (described in the next section). To retrieve the recommended sharpness value, your application can call the VDGetVideoDefaults function (described on page 8-66).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help